﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ClassLibrary.SignalType
{
    /// <summary>
    /// basic data unit
    /// </summary>
    [Serializable]
    public class DataPackage : Data
    {
        private String _data;

        public String Data
        {
            get { return _data; }
            set { _data = value; }
        }

        public DataPackage(String data)
        {
            this._data = data;
        }

        public override string ToString()
        {
            return _data;
        }
    }
}
